package com.yf.ability.config.dto;

import com.yf.base.api.annon.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
* <p>
* 轮播图数据传输类
* </p>
*
* @author 聪明笨狗
* @since 2022-11-18 10:37
*/
@Data
@ApiModel(value="轮播图", description="轮播图")
public class CfgBannerDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    
    
    @ApiModelProperty(value = "ID", required=true)
    private String id;
    
    @ApiModelProperty(value = "标题")
    private String title;
    
    @ApiModelProperty(value = "链接地址")
    private String link;
    
    @ApiModelProperty(value = "大图")
    private String banner;
    
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @Dict(dicCode = "banner_platform")
    @ApiModelProperty(value = "展示平台")
    private String platform;
    private String platform_dictText;
    
}
